package com.ilearn.iodata.iolingo.service.metadata.core.edm.mapper.api;

/**
 * Created by lyndon on 2018/5/29.
 */
public interface TupleElement<X> {

    /**
     * Return the Java type of the tuple element.
     * @return the Java type of the tuple element
     */
    Class<? extends X> getJavaType();

    /**
     * Return the alias assigned to the tuple element or null,
     * if no alias has been assigned.
     * @return alias
     */
    String getAlias();
}

